-- GENERATED SPELL FOR [Arakis] --


function spell0_15290(pUnit, Event) --@Berserker Charge,n/a--
pUnit:FullCastSpellOnTarget(19471,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15290', 613, 1)
end

function Sorts_15290(pUnit, Event)
local choix_sorts_15290 = math.random(0, 0)
if choix_sorts_15290 == 0 then
pUnit:RegisterEvent('spell0_15290', 1, 1)
end
end

function mob15290_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15290', math.random(1500, 3000), 1)
end

function mob15290_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15290_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15290_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15290, 1, 'mob15290_Action')
RegisterUnitEvent(15290, 2, 'mob15290_Leave')
RegisterUnitEvent(15290, 3, 'mob15290_Kill')
RegisterUnitEvent(15290, 4, 'mob15290_Die')
